<?php

/**
 * LEAGUEMan
 * 
 * Copyright (C) 2007 Marko Bischof
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

?>

<form action="index2.php" method="post" name="adminForm">
	<table cellpadding="4" cellspacing="0" border="0" width="100%">
		<tr>
    		<td width="100%">
				<span class="sectionname">
					<?php echo $this->row->getName();?>
				</span>
			</td>
		</tr>
	</table>
    
	<table class="adminform">
  	    <tr>
			<td valign="top" width="25%">
				<ul>
					<li><?php echo $this->c["teams"];?> Teams</li>
					<li><?php echo $this->c["rounds"];?> Rounds</li>
					<li><?php echo $this->c["matches"];?> Matches</li>
					<li><?php echo $this->c["players"];?> Players</li>
				</ul>
			</td>
			<td valign="top" width="75%">
			* This will <strong><font color="#FF0000">Permanently Delete</font></strong> these Items from the Database *
			<br /><br />
			<div style="border: 1px dotted gray; width: 70px; padding: 10px; margin-left: 50px;">
				<a class="toolbar" href="javascript:if (confirm('Are you sure you want to Deleted the listed items? \nThis will Permanently Delete them from the database.')){ submitbutton('delete');}" onmouseout="MM_swapImgRestore();"  onmouseover="MM_swapImage('remove','','images/delete_f2.png',1);">
					<img name="remove" src="images/delete.png" alt="Delete" border="0" align="middle" />&nbsp;Delete
				</a>
			</div>
			<br/><br/>
			</td>
		</tr>
	</table>
    
	<input type="hidden" name="option" value="com_leagueman" />
    <input type="hidden" name="act" value="projects" />
	<input type="hidden" name="task" value="delete" />
	<input type="hidden" name="project_id" value="<?php echo $this->row->getID()?>">
</form>